package com.tedu.ds.dept.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DepartmentVO {

    @ApiModelProperty(value = "部门id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "部门名称", example = "研发部", required = true)
    private String name;

    @ApiModelProperty(value = "负责人", example = "1")
    private Long managerId;

    @ApiModelProperty(value = "负责人名字", example = "张三")
    private String managerName;

    @ApiModelProperty(value = "联系方式", example = "12345678901")
    private String phone;

    @ApiModelProperty(value = "部门位置（楼层、房间号）", example = "3楼301室")
    private String location;

    @ApiModelProperty(value = "部门描述", example = "负责产品研发和技术支持")
    private String description;

    @ApiModelProperty(value = "创建时间（记录创建日期）", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "部门状态", example = "1")
    private String status;
}